package com.minjiang.blog.exception;


import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * @ResponseStatus(HttpStatus.NOT_FOUND) 捕获状态返回特定页面
 * NotFundException 获取特定的信息
 */
@ResponseStatus(HttpStatus.NOT_FOUND)
public class NotFundException extends RuntimeException{
    public NotFundException() {
    }

    public NotFundException(String message) {
        super(message);
    }

    public NotFundException(String message, Throwable cause) {
        super(message, cause);
    }
}
